home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / mac / vim55bin.sit / Vim 5.5 / macvimrc next >
Encoding:
Text File  |  1999-09-18  |  337 b   |  12 lines  |  [TEXT/VIM!]

  1. " Customize this!
  2. " let $HOME = 'Macintosh HD:Desktop Folder:Documents'
  3. " let $Desktop = 'Macintosh HD:Desktop Folder'
  4.  
  5. " Mapping the command-Keys
  6. " Commmand-Q = Quit
  7. nmap <D-q> :confirm qa<CR>
  8.  
  9. " When Vim is started with a filename, cd to the folder
  10. " where the file is located.
  11. autocmd VimEnter * if strlen(@%) != 0 | cd %:p:h | endif
  12.